package com.it.sun.esaychat.file.service;

import com.it.sun.easychat.model.vo.FileVO;
import com.it.sun.esaychat.file.entity.FileEntity;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author sunmannian
 * @since 2020-05-28
 */
public interface IFileServices extends IService<FileEntity> {

    FileVO upload(MultipartFile file);

    List<FileVO> batchUpload(List<MultipartFile> files);
}
